package com.jmb.api.service;

import com.jmb.api.model.entity.Permission;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jmb.api.vo.permission.PermissionInfoVo;
import com.jmb.api.vo.permission.PermissionUpdateVo;
import com.jmb.api.vo.permission.PermissionVo;

import java.util.List;

/**
* @author jinbo
* @description 针对表【permission】的数据库操作Service
* @createDate 2025-04-08 13:53:56
*/
public interface PermissionService extends IService<Permission> {

    void savePermission(PermissionVo permissionVo);

    void updatePermission(PermissionUpdateVo permissionUpdateVo);

    List<PermissionInfoVo> getPermissionList(Integer parentId);
}
